file("GLOB" "SOURCE_FILES" "*.h" "*.cpp")

install("FILES" "CmdParser.h" "DESTINATION" "include")

add_library("CmdParser_SHARED" "SHARED" "${SOURCE_FILES}")
set_target_properties("CmdParser_SHARED" "PROPERTIES" "OUTPUT_NAME" "CmdParser")
install("TARGETS" "CmdParser_SHARED" "DESTINATION" "lib")

add_library("CmdParser_STATIC" "STATIC" "${SOURCE_FILES}")
set_target_properties("CmdParser_STATIC" "PROPERTIES" "OUTPUT_NAME" "CmdParser")
install("TARGETS" "CmdParser_STATIC" "DESTINATION" "lib")
